<!DOCTYPE html>
<html lang="en" <if condition="APP_DEBUG eq false and $is_mobile">manifest="<php>echo HomeUrl</php>/appcache/edu.appcache"</if>>

<head>
<script>
    var webName = "BoxDoc";
    var base_url = "http://doc.<php>echo DomainName</php>";
    var view_type = "<{$is_mobile?'Wap':'Web'}>";
</script>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>
        <{$web_title}>
    </title>
    <script src="__Js__/jquery-1.11.3.min.js" type="text/javascript"></script>
    <script src="__Js__/bootstrap.min.js"></script>
    <link rel="stylesheet" href="__Css__/bootstrap.min.css" type="text/css">
    <if condition="APP_DEBUG  or I('Curl')">
        <script resCache=1 src="__Controllers__/controllers.js"></script>
        <script resCache=1 src="__Js__/m.js"></script>
        <script resCache=1 src="__Controllers__/BoxDoc/common.js"></script>
        <link rel="stylesheet" resCache=1 href="__Css__/global.css" type="text/css">
        <link rel="stylesheet" resCache=1 href="__Css__/BoxDoc.css" type="text/css">
        <link rel="stylesheet" resCache=1 href="__Css__/user.css" type="text/css">
        <else/>
        <script src="__ResCache__/BoxDoc.js"></script>
        <link rel="stylesheet" href="__ResCache__/BoxDoc.css" type="text/css">
    </if>
</head>

<body class="text <{$is_mobile?'Wap':'Web'}>">
<include file="Public:header" />
    <!--[if lte IE 8]>
<div class="compatible-contianer" id="js-compatible">
    <P class=cpt-ct><I></I>您的浏览器版本过低。为保证最佳学习体验，<A href="http://chrome.360.cn/" target="_blank">请点此下载高版本浏览器</A></P>
</div>
<![endif]-->
    <div class="views">
        <!-- Your main view, should have "view-main" class-->
        <div class="view view-main">
            <!-- Top Navbar-->
            <!-- Pages, because we need fixed-through navbar and toolbar, it has additional appropriate classes-->
            <div class="pages">
                <!-- Index Page-->
                <{$page_content}>
            </div>
            <!-- Bottom Toolbar-->
        </div>
    </div>
 
    <!--常用模板-->
    <include file="Public:foot" />
    <script>
    hiApp = new m(app_params);
    hiApp.init();
    hiApp.run();
    </script>
</body>

</html>
